Generating Source Code Files

You can generate header files and implementation files for your class from the information in the nib file. The header file (for example, MyClass.h) declares the outlets as instance variables (of type id) and declares the actions as instance methods (of the form methodName :sender). The implementation file (for example, MyClass.m) contains empty function blocks for each of these methods.

To generate source code for your class:

Next Step

You're done.

Main Topic
Creating a Class

© 1999 Apple Computer, Inc.